package com.eight.course.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.eight.common.pojo.EduCourse;
import com.eight.common.pojo.EduSubject;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @program: qy8-education
 * @description:
 * @author: 张亚祥
 * @create: 2023-05-26 19:49
 **/
public interface SubjectDao extends BaseMapper<EduSubject> {
    @Select(value = "select * from edu_subject where parentId=0")
    List<EduSubject> selectBySubjectId();
}
